home *** CD-ROM | disk | FTP | other *** search
/ Core Concepts in Art 2 / Core Concepts in Art (Frames of Reference)(The McGraw-Hill Companies)(2004).iso / mac / media / search.swf / scripts / DefineButton2_50 / BUTTONCONDACTION on(release).as next >
Text File  |  2003-10-12  |  463b  |  24 lines

  1. on(release){
  2.    if(currentPage < maxPages)
  3.    {
  4.       i = 0;
  5.       while(i <= chapterArray(theChapter).length)
  6.       {
  7.          titlesHolder._y -= 180;
  8.          i++;
  9.       }
  10.       goldbar._y = 132;
  11.       processCaption(currentPage + "0");
  12.       currentPage++;
  13.       if(currentPage < maxPages)
  14.       {
  15.          next_btn._visible = 1;
  16.       }
  17.       else
  18.       {
  19.          next_btn._visible = 0;
  20.       }
  21.       previous_btn._visible = 1;
  22.    }
  23. }
  24.